

/*
	The following run the stata codes  that generates the empirical tables and figures Pinter-Wang-Zou (2024, RFS)
	- the codes here use a small, randomised dataset
*/

* add the path the code files are stored :
cd " ...." 


	  do RFS_DataConstruction.do // pseudo-data construction

	  do RFS_figure1.do // Figure 1 in the paper
	 	 
	  do RFS_baseline.do // Table 2 in the paper  
	 
	  do RFS_between.do // Figure 3 in the paper
	  
	  do RFS_client_type.do // Table 3 in the paper  
	  
	  do RFS_agency.do //agency trades - appendix
	  
	  do RFS_news.do // Table 4 in the paper - role of macro-news
	  
	  do RFS_nonlinear.do // non-linearity - appendix
	   
	  do RFS_information.do // Figures 4-5, information-analysis
	  
	  do RFS_orderflow.do // Table 5 - orderflow analysis
	  
	  do RFS_relationship_analysis.do // Table 6-7 the role of relationships

	  do RFS_cross_market.do // Table 8 - gilt vs corporate
